package design.mode.effective_java.chapter8.item53;

import sun.java2d.loops.ProcessPath;

import java.util.Optional;

/**
 * @author ZhongMingde on 2021/9/1
 */

public class Test2<E> {
    public static void main(String[] args) {
    }

    /**
     * Returns the element at the specified position in this list.
     **
     <p>This method is <i>not</i> guaranteed to run in constant
     * time. In some implementations it may run in time proportional
     * to the element position.
     **
     @param index index of element to return; must be
      * non-negative and less than the size of this list
      * @return the element at the specified position in this list
     * @throws IndexOutOfBoundsException if the index is out of range
     * ({@code index < 0 || index >= this.size()})
     */
    E get(int index){
        return null;
    }
}
